using System;
using System.IO;

namespace pascal2cs
{
    class Program
    {
        static void Main(string[] args)
        {
            if(args.Length!=2)
            {
                Console.WriteLine("参数不合法，传入的参数必须含源目录和目标目录...");
                return;
            }

            //Freepascal2cppConverter.ConvertFolder(args[0], args[1]);
            Freepascal2cppConverter.ConvertPasFile(@"D:\test\test.pas", @"D:\test");
        }
    }
}
